qt_add_qml_module(QoolWindows
    VERSION 2.0
    RESOURCE_PREFIX /qoolui
    URI "Qool.Windows"
    PLUGIN_TARGET QoolWindows
    QML_FILES
        QoolColorDialog.qml
        QoolFontDialog.qml
        QoolWindow.qml
    RESOURCES
        private/colordialogcomponents/ColorPickerModeButton.qml
        private/colordialogcomponents/ColorPickIndicator.qml
        private/colordialogcomponents/ColorSelectorForm.qml
        private/colordialogcomponents/ColorSlider.qml
        private/colordialogcomponents/ColorSlotButton.qml
        private/colordialogcomponents/ColorWheel.qml
        private/colordialogcomponents/ColorAlphaSlider.qml
        private/colordialogcomponents/ColorBrightnessSlider.qml
        private/colordialogcomponents/ColorCMYKPicker.qml
        private/colordialogcomponents/ColorGreyscalePicker.qml
        private/colordialogcomponents/ColorHSBPicker.qml
        private/colordialogcomponents/ColorHSLBox.qml
        private/colordialogcomponents/ColorHSLPicker.qml
        private/colordialogcomponents/ColorHueSlider.qml
        private/colordialogcomponents/ColorMonitor.qml
        private/fontdialogcomponents/FontPanel.qml
        private/fontdialogcomponents/FontPreviewer.qml
        private/fontdialogcomponents/FontSelectionForm.qml
)

target_link_libraries(QoolWindows PRIVATE Qt6::Quick)

add_subdirectory(Basic)
